package com.google.code.swingonfire.showcase.component.foldable;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;

import javax.swing.JComponent;

public class TriggerComponent extends JComponent
{

    private static final long serialVersionUID = 3286483614991200389L;

    public TriggerComponent()
    {
        super();

        setPreferredSize(new Dimension(32, 32));
    }

    @Override
    protected void paintComponent(Graphics g)
    {
        super.paintComponent(g);

        g.setColor(Color.ORANGE);
        g.setFont(new Font("dialog", 0, 14));
        g.drawString("test", 16, 16);
    }

}
